import { defineConfig } from 'vite'
import uni from '@dcloudio/vite-plugin-uni'
// https://vitejs.dev/config/
import postcssPlugins from './postcss.config'
export default defineConfig({
  plugins: [
    uni(),
  ],
  // 内联 postcss 注册 tailwindcss
    css: {
      postcss: {
        plugins: postcssPlugins,
      },
    },
})
